﻿//*** Guidance generated code ***//
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;

using ProjectBase.Core;
using ProjectBase.Core.Service;

namespace $safeprojectname$
{
    /// <summary>
    ///     Quick Facade accessor
    /// </summary>
    public static class FacadeFactory
    {
        /// <summary>
        ///    Creates an instance of requested IFacade.
        /// </summary>
        /// <typeparam name = "T"></typeparam>
        /// <returns></returns>
        public static T CreateFacade<T>()
            where T : class, IFacade
        {
            var model = Factory.CreateInstance<T>();
            return model;
        }
    }
}